﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c="clr-namespace:WeiTalk.Controls"
    xmlns:local="clr-namespace:WeiTalk" 
    x:Class="WeiTalk.WeiBoShow"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" 
    Loaded="PhoneApplicationPage_Loaded">
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar x:Name="applicationBar">
            <shell:ApplicationBarIconButton  IconUri="/Images/appbar.download.rest.png" Text="加载图片" IsEnabled="False" Click="ImageViewer_Click" />
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid Background="#FF1BA1E2">
        <controls:Pivot x:Name="ptComments">
            <controls:PivotItem x:Name="WeiBoCotent" Margin="0,5,0,0">
                <controls:PivotItem.Header>
                    <TextBlock Text="正文" FontSize="36"/>
                </controls:PivotItem.Header>
            </controls:PivotItem>
            <controls:PivotItem x:Name="WeiBoComment" Margin="0,5,0,0">
                <controls:PivotItem.Header>
                    <TextBlock Text="评论" FontSize="36"/>
                </controls:PivotItem.Header>
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>
	<!--<ScrollViewer >
    <Grid x:Name="LayoutRoot" Background="Transparent">
    	<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
    	</Grid.RowDefinitions>
		<ScrollViewer x:Name="WeiBoComment" Height="768" >
    	<StackPanel x:Name="gWeiBoContent" >
                    <c:WeiBoControl/>
                    <Border BorderThickness="3" CornerRadius="3"  >
                <StackPanel x:Name="spComments" RenderTransformOrigin="0,0">
                	<StackPanel x:Name="spGetMore">
              <c:WeiBoCommentControl/>
                		<Border BorderThickness="1" CornerRadius="3" x:Name="GetMore" VerticalAlignment="Bottom" Background="#FF0A0A0A">

                			<Button Content="点击获取更多..."  x:Name="btnOAuth" FontSize="18.667" FontWeight="Bold" BorderThickness="0" VerticalAlignment="Bottom" />
                		</Border>
                	</StackPanel>
                </StackPanel>            
            </Border>
    	</StackPanel>
            
			</ScrollViewer>
        </Grid>
 </ScrollViewer>-->
    <!--演示 ApplicationBar 用法的示例代码-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="按钮 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="按钮 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="菜单项 1"/>
                <shell:ApplicationBarMenuItem Text="菜单项 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
